@extends("admin.public.layout")

@section("content")


        <div class="container-xxl flex-grow-1 container-p-y">


            <div class="row">



                <!-- Form controls -->
                <div class="col-md-6">
                    <div class="card mb-4">
                        <h5 class="card-header">{{$pageName}}</h5>
                        <div class="card-body">

                            <form action="{{ route('adminMusicTypeMenuSave') }}" method="post">
                                @csrf

                                <div class="mb-3">
                                    <label for="music_type_id" class="form-label">音乐分类</label>
                                    <select required class="form-select" id="music_type_id" name="music_type_id" aria-label="Default select example">


                                        @foreach($musicTypes as $k => $v)
                                            <option value="{{$k}}">{{$v}}</option>
                                        @endforeach
                                    </select>
                                </div>

                                <div class="mb-3">
                                    <label for="music_type_menu_name" class="form-label">菜单名</label>
                                    <input required type="text" class="form-control" id="music_type_menu_name" name="music_type_menu_name">
                                </div>
                                <div class="mb-3">
                                    <label for="music_type_menu_code" class="form-label">菜单标识</label>
                                    <input required class="form-control" type="text" id="music_type_menu_code" name="music_type_menu_code">
                                </div>
                                <div class="mb-3">
                                    <label for="music_type_menu_order" class="form-label">菜单排序</label>
                                    <input required class="form-control" type="text" id="music_type_menu_order" name="music_type_menu_order">
                                </div>

                                <div class="mb-3">
                                    <input required type="submit" class="form-control"  value="创建">
                                </div>
                            </form>

                        </div>
                    </div>
                </div>

            </div>
        </div>

@endsection
